[INFO] cloning repository https://github.com/ids1024/turls.rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ids1024/turls.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fids1024%2Fturls.rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fids1024%2Fturls.rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 119c8dd88123fe5479dbd8eb5502b1231d508283
[INFO] testing ids1024/turls.rs against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fids1024%2Fturls.rs" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ids1024/turls.rs on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ids1024/turls.rs
[INFO] finished tweaking git repo https://github.com/ids1024/turls.rs
[INFO] tweaked toml for git repo https://github.com/ids1024/turls.rs written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/ids1024/turls.rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b68d7965dbb88dca904a80323cbe21d0e11f16374f5dff02049cb3e71a6ae8cf
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b68d7965dbb88dca904a80323cbe21d0e11f16374f5dff02049cb3e71a6ae8cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b68d7965dbb88dca904a80323cbe21d0e11f16374f5dff02049cb3e71a6ae8cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b68d7965dbb88dca904a80323cbe21d0e11f16374f5dff02049cb3e71a6ae8cf", kill_on_drop: false }`
[INFO] [stdout] b68d7965dbb88dca904a80323cbe21d0e11f16374f5dff02049cb3e71a6ae8cf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6516c275187915b9fe7e5b5769b0e7382f888b658d372bf68273d057c23ac453
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "6516c275187915b9fe7e5b5769b0e7382f888b658d372bf68273d057c23ac453", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling dtoa v0.2.2
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling serde v0.8.23
[INFO] [stderr]    Compiling itoa v0.1.1
[INFO] [stderr]    Compiling bidir-map v0.3.3
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling fastcgi v1.0.0
[INFO] [stderr]    Compiling toml v0.2.1
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling serde_json v0.8.6
[INFO] [stderr]    Compiling turls v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]   --> src/main.rs:97:24
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let mut urlspath = std::env::home_dir().unwrap();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]   --> src/main.rs:99:26
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let mut configpath = std::env::home_dir().unwrap();
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `urlmap` as mutable, as it is a captured variable in a `Fn` closure
[INFO] [stdout]    --> src/main.rs:117:24
[INFO] [stdout]     |
[INFO] [stdout] 117 |             let hash = urlmap.add_url(&query);
[INFO] [stdout]     |                        ^^^^^^ cannot borrow as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `config` does not live long enough
[INFO] [stdout]    --> src/main.rs:109:19
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let baseurl = config.get("baseurl").unwrap().as_str().unwrap();
[INFO] [stdout]     |                   ^^^^^^---------------
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   borrowed value does not live long enough
[INFO] [stdout]     |                   argument requires that `config` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 134 | }
[INFO] [stdout]     | - `config` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `baseurl`, which is owned by the current function
[INFO] [stdout]    --> src/main.rs:113:22
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fastcgi::run_tcp(|mut req| {
[INFO] [stdout]     |                      ^^^^^^^^^ may outlive borrowed value `baseurl`
[INFO] [stdout] ...
[INFO] [stdout] 120 |                    baseurl,
[INFO] [stdout]     |                    ------- `baseurl` is borrowed here
[INFO] [stdout]     |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]    --> src/main.rs:113:5
[INFO] [stdout]     |
[INFO] [stdout] 113 | /     fastcgi::run_tcp(|mut req| {
[INFO] [stdout] 114 | |         let query = req.param("QUERY_STRING").unwrap();
[INFO] [stdout] 115 | |         let uri = req.param("DOCUMENT_URI").unwrap();
[INFO] [stdout] 116 | |         if uri == "/create" {
[INFO] [stdout] ...   |
[INFO] [stdout] 132 | |     },
[INFO] [stdout] 133 | |                      &listener);
[INFO] [stdout]     | |_______________________________^
[INFO] [stdout] help: to force the closure to take ownership of `baseurl` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fastcgi::run_tcp(move |mut req| {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `urlmap`, which is owned by the current function
[INFO] [stdout]    --> src/main.rs:113:22
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fastcgi::run_tcp(|mut req| {
[INFO] [stdout]     |                      ^^^^^^^^^ may outlive borrowed value `urlmap`
[INFO] [stdout] ...
[INFO] [stdout] 117 |             let hash = urlmap.add_url(&query);
[INFO] [stdout]     |                        ------ `urlmap` is borrowed here
[INFO] [stdout]     |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]    --> src/main.rs:113:5
[INFO] [stdout]     |
[INFO] [stdout] 113 | /     fastcgi::run_tcp(|mut req| {
[INFO] [stdout] 114 | |         let query = req.param("QUERY_STRING").unwrap();
[INFO] [stdout] 115 | |         let uri = req.param("DOCUMENT_URI").unwrap();
[INFO] [stdout] 116 | |         if uri == "/create" {
[INFO] [stdout] ...   |
[INFO] [stdout] 132 | |     },
[INFO] [stdout] 133 | |                      &listener);
[INFO] [stdout]     | |_______________________________^
[INFO] [stdout] help: to force the closure to take ownership of `urlmap` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fastcgi::run_tcp(move |mut req| {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0373, E0596, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `turls`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "6516c275187915b9fe7e5b5769b0e7382f888b658d372bf68273d057c23ac453", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6516c275187915b9fe7e5b5769b0e7382f888b658d372bf68273d057c23ac453", kill_on_drop: false }`
[INFO] [stdout] 6516c275187915b9fe7e5b5769b0e7382f888b658d372bf68273d057c23ac453
